home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / FAQ.TXT < prev    next >
Text File  |  1997-05-05  |  27KB  |  677 lines

  1.  
  2. These are questions people ask me quite often. Hopefully now that they're
  3. answered here that won't be the case. :^)
  4.  
  5. -----
  6.  
  7. Q: After installation, my ethernet, CDROM drive, and/or other hardware that I
  8.    thought Linux supported doesn't work.  Why?
  9.  
  10. A: Probably because the kernel you're running doesn't contain the support. 
  11.    To fix the problem, you'll have to install a kernel that does.  There might
  12.    a suitable kernel in the /kernels directory on the CDROM, or you can compile
  13.    a custom kernel for your machine.  This isn't too difficult -- see the 
  14.    instructions below about compiling a new kernel.  
  15.  
  16.    You can also try loading the device driver in the form of a kernel module.
  17.    There are drivers for nearly all the hardware supported by Linux in the
  18.    /modules directory on the CDROM, or in your /lib/modules directory if you've
  19.    installed the modules.tgz package.  Take a look at your /etc/rc.d/rc.modules
  20.    file for examples of how to load these.
  21.  
  22. -----
  23.  
  24. Q: Is it possible to install this operating system without a floppy drive?
  25.  
  26. A: Yes!  And it's not much harder, either.
  27.  
  28. First, you'll need a DOS partition.  Install Loadlin in a directory such
  29. as C:\LOADLIN (the Loadlin package is available as a ZIP file in the kernels/
  30. directory).  Once you have Loadlin installed, you'll need to copy a Linux
  31. kernel and a Slackware rootdisk image into the C:\LOADLIN directory.  We'll
  32. describe this process next:
  33.  
  34. You can find many kernels in the kernels/ directory on the CD.  The 
  35. subdirectories have the same names as the Slackware bootdisks, and contain
  36. the kernel used to make that bootdisk.  You might want to refer to the README
  37. files in a bootdisks directory (such as bootdsks.144/) to decide which kernel 
  38. will work best for your system.  Once you've picked a kernel (zImage or 
  39. bzImage), copy it into the C:\LOADLIN directory.  Next, select a rootdisk image
  40. from the rootdsks/ directory, such as the color rootdisk image (color.gz).
  41. Copy the file into your Loadlin directory.
  42.  
  43. Now, to start the installation process you'll need to boot DOS.  If you run
  44. Windows95, restarting the computer in MS-DOS mode is an option on the Start
  45. button menu.  (NOTE:  If you miss the good-old-days when you got DOS 
  46. automatically when you booted your computer and had to type "win" to actually
  47. start Windows, it's easy to fix Windows95 to work that way again.  Edit the 
  48. file C:\MSDOS.SYS and change where it says BootGUI=1 to read BootGUI=0)
  49.  
  50. Once you have DOS started, change into the Loadlin directory and use a command
  51. like this one to start the installation rootdisk:
  52.  
  53. loadlin zimage rw root=/dev/ram initrd=color.gz load_ramdisk=1
  54.  
  55. Usually the installation copies the kernel from the bootdisk, so when you use
  56. this method you'll have to skip that menu, as well as the bootdisk creation
  57. menu.  It's also advisable to skip the LILO menu, since the /vmlinuz will
  58. probably not be the one you want.  You best bet is to use Loadlin, since it's
  59. gotten you this far.  Just edit the LINUX.BAT file to point to your root Linux
  60. partition.
  61.  
  62. -----
  63.  
  64. Q: Why can't Linux install on my EIDE hard drive?
  65.  
  66. A: If you are using any of the various "Disk Manager" programs included with 
  67.    many EIDE drives, you won't be able to use the drive for Linux until you
  68.    remove it.  These programs are a hack to let DOS use more than 512MB, and
  69.    render the drive unusable for any other OS.  (Not just Linux... even OS/2
  70.    has trouble with these)
  71.  
  72.    The usual method for fixing the problem is to back up everything on the
  73.    drive, wipe the boot record (FDISK /MBR), reformat, and then reinstall
  74.    everything.
  75.  
  76.    NOTE:  The 2.0.x kernels claim to be able to work around some of these 
  77.    programs, so this problem *should* be fixed.  Still, if you run into 
  78.    problems, it's still a possible source.
  79.  
  80. -----
  81.  
  82. Q: When I installed Slackware, the system could see my CD-ROM just fine.  But,
  83.    when I try to boot using LILO or the bootdisk the system doesn't find the
  84.    CD-ROM drive anymore!  How can I fix this?
  85.  
  86. A: The problem is probably that you used a bootkernel disk with support for your
  87.    CD-ROM drive, but didn't install a kernel with support.  
  88.  
  89.    If you're ready to try compiling a kernel, you can easily solve this problem
  90.    by compiling a custom kernel (see the section about compiling a Linux kernel)
  91.    or, you can load the CDROM driver in the form of a kernel module.  You can
  92.    do this by editing the /etc/rc.d/rc.modules file to load the module for your
  93.    CDROM drive the next time you boot.  
  94.  
  95.    Here's the section of the file that loads CDROM drive modules:
  96.  
  97.  # These modules add CD-ROM drive support.  Most of these drivers will probe
  98.  # for the I/O address and IRQ of the drive automatically if the parameters
  99.  # to configure them are omitted. Typically the I/O address will be specified
  100.  # in hexadecimal, e.g.: cm206=0x300,11
  101.  #
  102.  #/sbin/modprobe aztcd aztcd=<I/O address>
  103.  #/sbin/modprobe cdu31a cdu31a_port=<I/O address> cdu31a_irq=<interrupt>
  104.  #/sbin/modprobe cm206 cm206=<I/O address>,<IRQ>
  105.  #/sbin/modprobe gscd gscd=<I/O address>
  106.  #/sbin/modprobe mcd mcd=<I/O address>,<IRQ>
  107.  #/sbin/modprobe mcdx mcdx=<I/O address>,<IRQ>
  108.  #/sbin/modprobe optcd optcd=<I/O address>
  109.  # Below, this last number is "1" for SoundBlaster Pro, or "0" for a clone.
  110.  #/sbin/modprobe sbpcd sbpcd=<I/O address>,1
  111.  #/sbin/modprobe sonycd535 sonycd535=<I/O address>
  112.  #/sbin/modprobe sjcd sjcd=<I/O address>
  113.  
  114.    To use one of these, edit out the '#' in front of the line for your CDROM
  115.    drive.  If you know the I/O address and/or IRQ for your board, fill it in on
  116.    the line.  For example, you might change the sbpcd line to look like this if
  117.    you've got a SoundBlaster CDROM at 0x300:
  118.  
  119. /sbin/modprobe sbpcd sbpcd=0x300,1
  120.  
  121.    If you need to access your CDROM drive so that you can get the modules
  122.    package installed, use the same bootkernel disk you installed the system 
  123.    with to get into your machine.  Use a command like this on the LILO prompt,
  124.    but replace the root device name with the one you used on your machine:
  125.  
  126.    mount root=/dev/hda1
  127.  
  128.    Once you're logged in, install the modules package:
  129.  
  130.    installpkg /cdrom/slakware/a*/modules.tgz
  131.  
  132. -----
  133.  
  134. Q: Why isn't my Sony CDU-31/33a detected by Linux anymore?  It used to work!
  135.  
  136. A: From the source code:
  137.  
  138.  + * WARNING -   All autoprobes have been removed from the driver.
  139.  + *             You MUST configure the CDU31A via a LILO config
  140.  + *             at boot time or in lilo.conf.  I have the
  141.  + *             following in my lilo.conf:
  142.  + *
  143.  + *                append="cdu31a=0x1f88,0,PAS"
  144.  + *
  145.  + *             The first number is the I/O base address of the
  146.  + *             card.  The second is the interrupt (0 means none).
  147.  + *             The third should be "PAS" if on a Pro-Audio
  148.  + *             spectrum, or nothing if on something else.
  149.  
  150. You can also use this option with Loadlin:
  151.  
  152. C:\LOADLIN\LOADLIN C:\LINUX\VMLINUZ root=/dev/hda1 cdu31a=0x1f88,0,PAS
  153.  
  154. Or, on the bootkernel LILO: prompt.  Examples:
  155.  
  156. LILO: ramdisk cdu31a=0x1f88,0,PAS
  157.  
  158. LILO: mount root=/dev/sda1 cdu31a=0x1f88,0,PAS ro
  159.  
  160. -----
  161.  
  162. Q: I can't get the kernel to see a CDROM connected to a Soundblaster 16 IDE!
  163.  
  164. A: First, be sure you're using the proper kernel -- the one needed in this
  165.    case is the IDE/ATAPI CDROM type, not the SBPCD type.  Then, if you still
  166.    have problems, use the secondary IDE channel (IRQ 15 0x170), and make sure
  167.    the drive is set as master (jumper in the back) and not as slave (a common
  168.    default).
  169.  
  170. -----
  171.  
  172. Q: I can't get the disks made by RAWRITE to boot!
  173.  
  174. A: First, check that you're using the right size image.  If you use an image
  175.    meant for a 1.44 MB floppy on a 1.2 MB floppy (or vice-versa) you'll likely
  176.    see the message "LI" and the boot process will hang.
  177.  
  178.    Another possibility is a BIOS problem -- a user has reported to me that
  179.    RAWRITE fails on his machine unless he first does "dir a:" on an MS-DOS
  180.    floppy.  Apparently this is caused by the BIOS improperly initializing
  181.    address 0000:0526 (number of sectors) to 11h instead of 12h.  Using "dir"
  182.    on the device fixes that value.  The affected machine in this case was using
  183.    "Mr. BIOS" from Unicore Software. 
  184.  
  185. -----
  186.  
  187. Q: I was able to install fine, but the installed system won't boot!
  188.  
  189. A: Slackware uses stripped down kernels to do the actual installation -- in
  190.    other words, the kernels don't have any more drivers than needed to control
  191.    only the device needed to complete the installation.  The kernels that are
  192.    installed to the system are more full featured, with more ethernet, mouse,
  193.    filesystem, and other drivers.  Sometimes this can lead to hangs at boot
  194.    time when the kernel misidentifies an piece of hardware that's unusual or
  195.    at a non-standard port/IRQ.
  196.  
  197.    When this happens, you need to try a different kernel.  First, use the
  198.    bootdisk that worked during installation to get your system started.  To
  199.    do this, boot the disk and enter something like this at the LILO prompt:
  200.  
  201.    mount root=/dev/sda2
  202.  
  203.    (if /dev/sda2 is your root Linux partition, otherwise use the appropriate
  204.    device name for your system)
  205.  
  206.    Once you've got the system running, install or compile a different kernel.
  207.    Try to include only the device drivers you need for your hardware.  
  208.  
  209.    Instructions on compiling the kernel can be found in your kernel source
  210.    directory (if you installed the kernel source, that is).  The kernel
  211.    source is usually found in /usr/src/linux.
  212.  
  213.    Briefly, this is the method for building a new kernel:
  214.  
  215.    cd /usr/src/linux
  216.    make config   (then answer the questions about what you need)
  217.    make dep ; make clean ; make zImage
  218.  
  219.    If the zImage is successfully built, see an answer below which explains
  220.    how to install it with LILO or Loadlin, or make a new bootdisk from it.
  221.    Once you've done that, you might want to clean up /usr/src/linux by cd'ing
  222.    into it and doing another 'make clean'.
  223.  
  224.    Good luck!  If you can handle this, you're well on your way to becoming a
  225.    Linux guru.
  226.  
  227. -----
  228.  
  229. Q: Why do I get "network unreachable" under Slackware?
  230.  
  231. A: There are a couple of possibilities. For most users, things work right out
  232.    of the box. However, if you're running into this problem here are two
  233.    workarounds you can try:
  234.  
  235.    1. Reverse the broadcast and netmask arguments (and their variables)
  236.       in the call to ifconfig in /etc/rc.d/rc.inet1. Make sure you are
  237.       not trying to route your own IP address - you shouldn't have to.
  238.  
  239.    2. Make sure /etc/networks is properly configured.
  240.  
  241.    3. You may want to try the 'netconfig' script (in the package netcfg.tgz).
  242.       It's not perfect, but does a pretty good job. 
  243.  
  244.    4. Make sure the kernel you're using supports your hardware.  Most of the
  245.       kernels provided with Slackware include a /boot/config.in file where you
  246.       can look up the compilation options.
  247.  
  248. -----
  249.  
  250. Q: Why the $%#@! isn't my UltraStor SCSI detected? It works under DOS!
  251.  
  252. A: Set the I/O address to 0x340 instead to 0x330.
  253.  
  254.    For any hardware that doesn't work, a good rule is to try playing around
  255.    with the IRQ and I/O settings on it to see what happens. If your system
  256.    is up and running and you're having problems with a CD-ROM or tape or
  257.    something like this, you can always look around for the driver source in
  258.    /usr/src/linux/drivers... really, it won't bite!  Often, the source 
  259.    contains important documentation, such as the default IRQ settings for
  260.    that type of device, and the major number for the entry in /dev. Also,
  261.    try other bootkernels and see if that helps.
  262.  
  263. -----
  264.  
  265. Q: If the setup menus for NFS installation don't work, how can I setup the
  266.    network manually before starting setup?
  267.  
  268. A: Once your Linux machine is listed in the hosts /etc/exports (if the whole
  269.    network is not already), you might need to do these things before running
  270.    setup.  This is usually only needed if the NFS server is on a different
  271.    subnet than your Linux machine:
  272.  
  273.  # Setup the loopback device:
  274.  ifconfig lo 127.0.0.1
  275.  route add -net 127.0.0.0
  276.  
  277.  # Setup the network:
  278.  ifconfig eth0 1.2.3.4        # 1.2.3.4 is the ip number of my machine.
  279.  route add -net 1.2.3.0
  280.  route add default gw 1.2.3.1 # in this example, the ip address of our NFS 
  281.                              # server is 1.2.31.4 and belongs to a different
  282.                              # network.
  283.  
  284. -----
  285.  
  286. Q: My IBM Thinkpad won't load the rootdisk into a ramdisk correctly, so I 
  287.    can't install Linux.  What can I do?
  288.  
  289. A: The disk-changed sensor on some Thinkpads works a little differently.  This
  290.    can be worked around -- just specify "floppy=thinkpad" when booting:
  291.  
  292.    boot:  ramdisk floppy=thinkpad
  293.  
  294.    ... on the bootdisk's LILO prompt.
  295.  
  296. -----
  297.  
  298. Q: My large (> 1/2 gig) IDE drive reports more than 16 heads, and as a 
  299.    result Linux won't install on it. What can I do?
  300.  
  301. A: See the file /docs/mini/Large-IDE for instructions on how to make it work.
  302.    (Thanks to Bob DiMarco for forwarding this to me, and Patrick LoPresti for
  303.    compiling the information in the first place)
  304.  
  305.    Note that newer kernels (> 1.1.40) will do this translation for you 
  306.    automatically, and thus make the workaround unnecessary.
  307.  
  308. -----
  309.  
  310. Q: How do I make a Slackware bootkernel disk with this new kernel I made?
  311.  
  312. A: OK, well you grab an existing one like "scsinet.s", put it on a floppy,
  313.    and do this:
  314.  
  315.    mount /dev/fd0 /mnt (this mounts it)
  316.    cat zImage > /mnt/vmlinuz (put the new kernel in place)
  317.    rdev -R /mnt/vmlinuz 0    (mount read-write)
  318.    rdev /mnt/vmlinuz /dev/fd0u1440   (use that drive, or /dev/fd0h1200)
  319.    rdev -r /mnt/vmlinuz 49152  (enable the ramdisk)
  320.    lilo -r /mnt  (reinstall lilo)
  321.    umount /mnt   (that's it! you're done! :^)
  322.  
  323.    If you want it to stop and give the message to switch disks, you'll need the
  324.    ramdisk.c patch in /pub/linux/slackware/kernels on ftp.cdrom.com. I have no
  325.    idea if this will still patch into the newest kernels. Otherwise, you don't
  326.    really need it if you're brave enough to just switch the new disk in as soon
  327.    as you see the "Uncompressing Linux..." message. It's always worked for me.
  328.  
  329. -----
  330.  
  331. Q: My backspace is acting strangely under X?  How can I fix it?
  332.  
  333. A: Well, I've never noticed a real problem, but I occasionally hear 
  334.    about this.  You might want to try adding this to your .Xmodmap in
  335.    /usr/X11/lib/X11/xinit or $HOME:
  336.  
  337. keycode 22 = BackSpace
  338.  
  339. -----
  340.  
  341. Q: I just built a new kernel. Now how to I go about replacing my existing
  342.    kernel with this new zImage file?
  343.  
  344. A: First, you must prepare the new kernel. If you're using UMSDOS, you'll want 
  345.    your system to boot read-write. Otherwise, you'll want it to boot read-only
  346.    so your filesystems can be safely checked. So, do this:
  347.  
  348.    For UMSDOS:
  349.       rdev -R zImage 0
  350.    For any other filesystem type:
  351.       rdev -R zImage 1
  352.  
  353.    Then, you'll need to set the root partition. For example, if your root 
  354.    Linux partition is /dev/hda2, you'd do this:
  355.  
  356.       rdev zImage /dev/hda2
  357.  
  358.    Then, you can set a video mode if you like. As an example, this sets normal
  359.    80x25 console mode:
  360.  
  361.       rdev -v zImage -1
  362.  
  363.    Other modes include:  -3 = Prompt, -2 = Extended VGA. You might need to 
  364.    remove a line in your /etc/lilo.conf that forces normal video if you use
  365.    LILO and wish to try an extended video mode.
  366.  
  367.    Next, you need to install the kernel. If you boot from a floppy disk, you
  368.    can simply stick a formatted floppy into your drive and write the zImage
  369.    to it like this:
  370.  
  371.    cat zImage > /dev/fd0
  372.  
  373.    If you use lilo, you should copy the zImage to where your lilo.conf expects
  374.    it to be and then reinstall lilo. This should work if you used Slackware's
  375.    liloconfig script to set up LILO. (this is the script setup uses)
  376.  
  377.    cp zImage /vmlinuz ; lilo
  378.   
  379.    You may wish to back up your existing /vmlinuz first.
  380.  
  381.    If you use Loadlin, copy the kernel to your DOS partition where Loadlin can
  382.    see it (if you use UMSDOS, you won't need to do this).  Then, start Linux
  383.    from DOS like this:  
  384.  
  385.      c:\loadlin\loadlin.exe c:\linux\vmlinuz root=/dev/hda2
  386.  
  387.    That should do it.
  388.    
  389. -----
  390.  
  391. Q: Why can't I cut and paste from elvis (vi) in an xterm?
  392.  
  393. A: Later versions of elvis use the mouse for cursor positioning instead. If
  394.    you want to cut and paste, hold the left shift key down while you use the
  395.    mouse.
  396.  
  397. -----
  398.  
  399. Q: Why doesn't my bus mouse work? The kernel, selection, the
  400.    X server and test-mouse all say "no such device."
  401.  
  402. A: The kernels distributed with Slackware don't have the drivers for
  403.    busmice compiled in. Last time I tried to include all of them there
  404.    were horrible driver conflicts -- better to leave them out if they
  405.    can't coexist.  Obviously, it's not feasible for me to provide 
  406.    versions of every precompiled kernel for each type of busmouse. I 
  407.    only have a 386. ;^)
  408.  
  409.    (I'm only kidding,  As of 4/98, I'm running a P233MMX)
  410.  
  411.    The solution is to load support for your mouse from a kernel module.
  412.    Edit /etc/rc.d/rc.modules and uncomment the line for your mouse:
  413.  
  414.    # Mouse support:
  415.    #/sbin/modprobe atixlmouse
  416.    #/sbin/modprobe busmouse
  417.    #/sbin/modprobe msbusmouse
  418.    #/sbin/modprobe psaux
  419.  
  420.    (To uncomment a line in a shell script, you use an editor to remove the
  421.    '#' from the start of the line)
  422.  
  423. -----
  424.  
  425. Q: I see my SoundBlaster/Panasonic CD-ROM detected at boot, but I can't
  426.    install from it or mount it. What's going on?
  427.  
  428. A. Try setting to drive's ID to 0. This is expected by the install disks.
  429.    There should be a jumper on the back of the drive that selects this --
  430.    just move it to the leftmost position.
  431.  
  432. -----
  433.  
  434. Q: I'm using UMSDOS and would like to use the same swapspace under Windows
  435.    and Linux. Can this be done?
  436.  
  437. A: If you want to share a Linux-UMSDOS swapfile with MS-Windows, you can
  438.    do the following:
  439.  
  440.    1. Create PERMANENT(!) swap file in MS-Windows with size NNNN kbytes.
  441.    2. In /etc/rc.d/rc.local add the following lines:
  442.  
  443.    rm -f /DOS/windows/spart.par  <--- Needed in order to suppress
  444.                                       Windows complain on next start!
  445.    mkswap /DOS/386spart.par NNNN
  446.    sync
  447.    swapon /DOS/386spart.par
  448.  
  449.    3.In /etc/rc.d/rc.0 add "swapoff" for this file.
  450.  
  451. -----
  452.  
  453. Q: What's the password for root on the install disk?
  454.  
  455. A: There isn't one. If you're asked for one, it usually means that you
  456.    don't have enough memory to install.
  457.  
  458.    To help work around this, look in your CMOS settings and make sure you don't
  459.    have any ROM shadowing enabled. ROM shadowing wastes memory and won't
  460.    improve the performance of Linux. Also, make sure you're using the smallest
  461.    bootkernel disk you can. For example, you don't need to use "scsinet" if
  462.    you're not installing to a SCSI drive via NFS. Use something small -- the
  463.    "bare" disk if you can get away with it. Some people mistakenly think they
  464.    need to use a bootkernel disk with network drivers if they plan to use
  465.    networking after installation. Not so! The drivers on the bootkernel disk
  466.    have no impact on what you can use *after* installation -- in almost all
  467.    cases you won't be running the same kernel on your installed system as
  468.    you used to install it.
  469.  
  470. -----
  471.  
  472. Q: How can I install and remove software now that the Slackware Linux 
  473.    distribution is installed on my machine?
  474.  
  475. A: To remove packages, type "pkgtool" and follow the prompts. Pkgtool will
  476.    also allow you to add packages that are in the current directory.
  477.  
  478.    The preferred way to install software is with the "setup" script.
  479.    When you do your initial installation, setup puts a copy of itself in your 
  480.    /sbin for future use. You can also add software to your machine using the 
  481.    boot/install disk, if you really want to. 
  482.  
  483.    When adding software to a running system via NFS, it is preferable to
  484.    mount the partition yourself and then use the 'install from a mounted
  485.    directory' feature of setup.
  486.  
  487.    There are also command line utilities that allow you to create, install,
  488.    and remove packages. For these, you should refer to the manpages:
  489.    installpkg(8), removepkg(8), makepkg(8), explodepkg(8). A simple example
  490.    of how you would install a package with installpkg:
  491.  
  492.    installpkg package.tgz
  493.  
  494. -----
  495.  
  496. Q.  How do I know what files setup/pkgtool/installpkg is putting where ?
  497.  
  498. A.  Look around in /var/adm/packages.
  499.     Similarly, you can find installation scripts for each package in 
  500.     /var/adm/scripts.
  501.  
  502. -----
  503.  
  504. Q: I set my partitions to "Linux native" but Slackware still won't detect
  505.    them! What can I do?
  506.  
  507. A: This problem is rare and I still don't know what causes it.
  508.  
  509.    [ Note that this is not the same problem that usually affects the IBM PS/1,
  510.    Thinkpad, and similar machines that do not detect the harddrive. If you've
  511.    got one of these machines, and fdisk is giving you problems, your answer is
  512.    still ahead :^) ]
  513.  
  514.    Here's a workaround you can use to install anyway:
  515.  
  516.    1. Start tty12 or tty144 using one of the bootkernel disks.
  517.    2. Make and format partitions for Linux.
  518.    3. Mount the target partitions under /mnt.
  519.    4. Type "setup -target_mounted"
  520.    5. Follow the rest of the instructions to install.
  521.    6. Type "vi /mnt/etc/fstab" and enter an appropriate fstab.
  522.       As an example, here's what mine contains:
  523.  
  524. /dev/hdb2   swap    swap   defaults 
  525. /dev/hda2   /       ext2   defaults
  526. /dev/hda3   /usr    xiafs  defaults 
  527. /dev/hda1   /dos    msdos  defaults 
  528. /dev/hdb1   /os2    msdos  defaults 
  529. none        /proc   proc   defaults
  530.  
  531.    To give you some more info about this file, the first field is the
  532.    partition to be mounted, the second is where it should be mounted, the
  533.    third is the filesystem type, and the last field is the options to use.
  534.    Unless you're a Linux wizard, just set this to "defaults".
  535.  
  536.    Other things to remember about this file:
  537.       - Make sure that you list the root partition before any other partitions
  538.         that are mounted beneath it.
  539.       - Add the /proc line, or "ps", "w", etc, won't work.
  540.       - It's a good idea to put a blank line at the end of the file, as I've
  541.         had reports that partitions listed on the last line might not be 
  542.         mounted.
  543.  
  544.    7. Once you've made and saved this file you can reboot with ctrl-alt-delete.
  545.  
  546. -----
  547.  
  548. Q: I have a (PS/1 || Valuepoint || Thinkpad), and can't install because fdisk
  549.    can't see my hard drive. How can I get around this?
  550.  
  551. A: You'll need to enter your drive parameters at the bootkernel prompt. You
  552.    can even specify the geometry for your second IDE drive by supplying a
  553.    second  hd= parameter right after the first one. 
  554.  
  555.    When you boot the bootkernel disk, you'll see more information about the
  556.    format used to pass your drive parameters to the kernel at the LILO prompt
  557.    and allow your drive to be recognized.
  558.  
  559.    You'll have to edit your lilo.conf file to add a similar hd= flag if you
  560.    want LILO to work. Add this as the TOP line in the file:
  561.  
  562.    append="hd=cyl,hds,secs"
  563.  
  564.    Where "cyl", "hds", and "secs" are the number of cylinders, sectors,
  565.    and heads on the drive.
  566.  
  567.    If you have two IDE drives, specify both drives (like this):
  568.  
  569.    append="hd=967,13,31 hd=944,14,40"
  570.  
  571. -----
  572.  
  573. Q: Why do my /etc/issue and /etc/motd keep resetting themselves at boot time?
  574.  
  575. A: The /etc/rc.d/rc.S resets them out every time you boot after figuring out
  576.    which kernel you're running -- otherwise the kernel version printed at login
  577.    might not stay current.
  578.  
  579.    If you want to write your own /etc/issue and /etc/motd, you need to comment
  580.    out that part of /etc/rc.d/rc.S.
  581.  
  582. -----
  583.  
  584. Q: Emacs dumps core, complains of a missing library, or lacks X11 support! Why?
  585.  
  586. A: The GNU Emacs series includes your choice of a version with X11 support, or
  587.    one without. Make sure you have the right binary for your machine. 
  588.  
  589.    The binary supporting X11 is installed as part of a package on the first 
  590.    disk that you'll need to install whether you want X11 support or not. If
  591.    you DO NOT want X11 support, install the package 'emac_nox.tgz' on the last
  592.    disk of the Emacs series.
  593.  
  594.    If you just install all of the disks, you don't get X11 support. It had to
  595.    be one way or the other, so if you're not paying attention when you install
  596.    at least this way it will run no matter what.
  597.  
  598. -----
  599.  
  600. Q: Why do my compiles sometimes die with 'signal 11: internal compiler error'?
  601.  
  602. A: This indicates a hardware problem in about 99% of the cases. It can usually
  603.    be fixed by increasing the number of wait states in the CMOS settings. It
  604.    can almost always be fixed by turning off the RAM cache, but this should be
  605.    your last resort since it will cause a noticeable slowdown.
  606.  
  607. -----
  608.  
  609. Q: How can I change (or get rid of) the color ls?
  610.  
  611. A: Read the man page, and check out the file /etc/DIR_COLORS. You can
  612.    configure the colors any way you like, or shut them off entirely. Also, you
  613.    can copy /etc/DIR_COLORS into your home directory as '.dir_colors' to 
  614.    override the global defaults on a user by user basis.
  615.  
  616. -----
  617.  
  618. Q: I start X with "openwin" and it works OK, but I can't switch virtual
  619.    consoles. Why?
  620.  
  621. A: On a Linux text screen, you switch virtual consoles with Alt-F1 through 
  622.    Alt-F8. Under XFree-86, you must use Ctrl-Alt-F1 through Ctrl-Alt-F8. 
  623.    Another useful 'secret' key combination is RightShift-PgUp/PgDown for
  624.    scrollback. (a random amount ranging from none to a few pages, depending
  625.    on the state of your video text buffer memory)
  626.  
  627. -----
  628.  
  629. Q: Why can't I use the new ghostscript with X?
  630.  
  631. A: Make sure you have gs_x11.tgz from disk XAP1 installed.
  632.  
  633. -----
  634.  
  635. Q: I can't get anything to work at all! What's the deal?
  636.  
  637. A: If you seem to suffer catastrophic failure (!), then check the file FILE_LIST
  638.    on ftp.cdrom.com in /pub/linux/slackware against the contents of your disks
  639.    and make sure you're not missing any files. 
  640.  
  641.    Also, I've noticed that most of the reports of kernel panics and system 
  642.    hangs have come from people with 4MB. If you're running into these types
  643.    of problems I'd suggest forking over the $$$ for 4 more meg. I have 8 MB of
  644.    RAM and never have crashes. (well, only when I really push my luck)
  645.    If you don't want to do that, then go through your /etc/rc.d/rc.* files and
  646.    get rid of any daemons you don't use, like crond, lpd, or selection.
  647.  
  648.    If you've got 4 MB and you're getting 'virtual memory exceeded in new'
  649.    warnings, make sure you set up and activate a swap partition before running
  650.    setup. If you're really hard up on memory, you can boot a rootdisk using
  651.    'editroot' instead of one of the usual boot kernels. This will mount the 
  652.    floppy in the root drive, and you'll have to install from the other drive
  653.    or from the hard drive. You will also not be able to create any kind of boot
  654.    disk, so you'll have to install LILO and take your chances. I only suggest
  655.    using this approach if a swapfile will not work.
  656.  
  657. -----
  658.  
  659. Q: How do I make a bootkernel disk that uses a custom kernel?
  660.  
  661. A: Look in the ./kernels subdirectory. You'll find complete instructions
  662.    on how to make them in there.
  663.  
  664. -----
  665.  
  666. Also - at ftp.gwdg.de:/pub/linux/install-mount/slack-info are some more
  667. networking hints.
  668.  
  669. In addition, the LDP people have put out an excellent set of manuals that I
  670. may include in a future Slackware release. These are available on
  671. sunsite.unc.edu in /pub/Linux/docs/LDP.
  672.  
  673. ---
  674. Patrick Volkerding
  675. volkerdi@mhd1.moorhead.msus.edu
  676. volkerdi@ftp.cdrom.com
  677.